package com.itmuch.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;


import feign.Feign;


@Configuration
public class Configurationl2 {
	
	
/*	//添加日志
	@Bean
	Logger.Level feignLogger() {
		return Logger.Level.FULL;
	}*/
	
	//添加对FeignClient2的feign的禁用
    @Bean
	@Scope("prototype")
	public Feign.Builder feignBuil(){
		return Feign.builder();
	}
	
	
}
